package com.zkthink.clh.order.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zkthink.base.entity.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 实体类
 * 车龙惠消费金表
 * </p>
 *
 * @author chenke
 * @since 2022-04-26
 */
@Data
@NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("chl_coupons")
@ApiModel(value = "ChlCoupons", description = "车龙惠消费金表")
@AllArgsConstructor
public class ChlCoupons extends Entity<Long> {

    private static final long serialVersionUID = 1L;

    /**
     * 充值金额
     */
    @ApiModelProperty(value = "充值金额")
    @TableField("recharge")
    @Excel(name = "充值金额")
    private BigDecimal recharge;

    /**
     * 消费金
     */
    @ApiModelProperty(value = "消费金")
    @TableField("coupons")
    @Excel(name = "消费金")
    private BigDecimal coupons;


}
